6.5
MEDIUM CVSS 3.1
CVE-2026-48710
Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
Description

Starlette is a lightweight ASGI framework/toolkit. Prior to version 1.0.1, the HTTP `Host` request header was not validated before being used to reconstruct `request.url`. Because the routing algorithm relies on the raw HTTP path while `request.url` is rebuilt from the `Host` header, a malformed header could make `request.url.path` differ from the path that was actually requested. Middleware and endpoints that apply security restrictions based on `request.url` (rather than the raw `scope` path) could therefore be bypassed. Users should upgrade to a version greater than or equal to version 1.0.1, which validates the `Host` header against the grammar of RFC 9112 §3.2 / RFC 3986 §3.2.2 when constructing `request.url` and falls back to `scope["server"]` for malformed values.

INFO

Published Date :

May 26, 2026, 10:16 p.m.

Last Modified :

June 16, 2026, 1:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-48710 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Encode starlette
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 MEDIUM 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
Upgrade Starlette to version 1.0.1 or later to fix Host header validation.
  • Upgrade Starlette to version 1.0.1 or later.
  • Ensure Host header validation is properly configured.
  • Use `scope["server"]` for malformed values.
Public PoC/Exploit Available at Github

CVE-2026-48710 has a 17 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-48710.

URL Resource
https://badhost.org Mitigation Third Party Advisory
https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6 Patch
https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr Vendor Advisory
https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml Third Party Advisory
https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette Mitigation Third Party Advisory
https://www.secwest.net/starlette Exploit Mitigation Third Party Advisory
https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette Exploit Mitigation Third Party Advisory
https://access.redhat.com/security/cve/CVE-2026-48710
https://badhost.org Mitigation Third Party Advisory
https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6 Patch
https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr Vendor Advisory
https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml Third Party Advisory
https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette Mitigation Third Party Advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json
https://www.cve.org/CVERecord?id=CVE-2026-48710
https://www.secwest.net/starlette Exploit Mitigation Third Party Advisory
https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette Exploit Mitigation Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-48710 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-48710 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A mostly complete plugin that allows hermes agents to communicate and collaborate across nodes.

Python

Updated: 1 day, 3 hours ago
0 stars 0 fork 0 watcher
Born at : June 16, 2026, 8:55 a.m. This repo has been linked 1 different CVEs too.

None

Python HTML Jupyter Notebook Makefile

Updated: 3 days, 2 hours ago
0 stars 0 fork 0 watcher
Born at : June 12, 2026, 12:24 p.m. This repo has been linked 1 different CVEs too.

None

Dockerfile Python Shell HTML TypeScript CSS

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 8, 2026, 4:28 p.m. This repo has been linked 1 different CVEs too.

A documentation wiki explaining the internal architecture of NousResearch's Hermes Agent framework — how its tools, memory, skills, multi-agent and gateway systems actually work, mapped to verified source code. English edition.

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 3, 2026, 10:25 a.m. This repo has been linked 1 different CVEs too.

None

HTML JavaScript

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 30, 2026, 4:36 p.m. This repo has been linked 1 different CVEs too.

Portainer stack configuration for Honcho AI memory layer (plastic-labs/honcho)

Shell

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 23, 2026, 4:58 p.m. This repo has been linked 1 different CVEs too.

Modern supply chain security for the npm ecosystem. Static + behavioral analysis that catches what npm audit, Snyk, and Socket miss — obfuscated payloads, credential stealers, conditional triggers, sandbox evasion, and worm-like propagation.

Makefile Python JavaScript PLpgSQL Go Template Shell

Updated: 1 week, 2 days ago
14 stars 2 fork 2 watcher
Born at : May 12, 2026, 1:48 a.m. This repo has been linked 2 different CVEs too.

🤖 每日AI工具精选 — 自动更新的AI工具/资源清单,与缪兔AI信息差同步

Updated: 1 week, 6 days ago
1 stars 0 fork 0 watcher
Born at : May 9, 2026, 4:36 p.m. This repo has been linked 1 different CVEs too.

Pre-deploy static scanner for risky AI agent capabilities. Local-only. No telemetry. No network calls during scan. Redacted output. MIT.

agent cli github-actions mcp security ai-agents crewai langchain pre-deployment static-analysis

Python Dockerfile Shell TypeScript

Updated: 2 weeks, 1 day ago
3 stars 1 fork 1 watcher
Born at : May 6, 2026, 8:32 p.m. This repo has been linked 1 different CVEs too.

None

Python Jinja Batchfile Shell

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : April 22, 2026, 8:40 p.m. This repo has been linked 4 different CVEs too.

Workspace Repo For HermesAgent Deployed on MacOS

Shell Python Swift

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : April 14, 2026, 3:57 p.m. This repo has been linked 1 different CVEs too.

Hermes agent + LLM Wiki + 源代码 完成 Hermes agent wiki

Updated: 1 week, 2 days ago
530 stars 67 fork 67 watcher
Born at : April 8, 2026, 12:19 a.m. This repo has been linked 1 different CVEs too.

Hermes Agent setup, migration, LightRAG, Telegram, and skill creation guide

Shell

Updated: 6 hours, 46 minutes ago
450 stars 37 fork 37 watcher
Born at : April 7, 2026, 6:42 p.m. This repo has been linked 1 different CVEs too.

Cathedral-Grade Security for AI Agents. Attack vectors updated daily. Local-first, zero API cost. MIT licensed.

Python

Updated: 2 weeks ago
5 stars 0 fork 0 watcher
Born at : March 13, 2026, 5:10 p.m. This repo has been linked 114 different CVEs too.

Architecting Efficiency & AI-First Systems | Personal Profile & Portfolio Repository

github-profile profile

Updated: 2 days, 12 hours ago
0 stars 0 fork 0 watcher
Born at : Feb. 15, 2026, 11:25 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-48710 vulnerability anywhere in the article.

  • TheCyberThrone
CISA adds BerriAI LiteLLM & Check Point Security Gateway to KEV

CISA added two vulnerabilities to its Known Exploited Vulnerabilities catalog on June 8, 2026, confirming active exploitation of both. The two entries are CVE-2026-42271 (BerriAI LiteLLM Command Injec ... Read more

Published Date: Jun 09, 2026 (1 week, 1 day ago)
  • The Hacker News
LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCE

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Monday added a high-severity flaw impacting BerriAI LiteLLM to its Known Exploited Vulnerabilities (KEV) catalog, citing evidence of ... Read more

Published Date: Jun 09, 2026 (1 week, 1 day ago)
  • CybersecurityNews
Attackers Can Exploit BadHost to Access Sensitive AI Agent Server Endpoints

A newly disclosed critical vulnerability, tracked as CVE-2026-48710 and dubbed “BadHost,” is putting thousands of AI-powered applications at risk by enabling authentication bypass through manipulated ... Read more

Published Date: May 27, 2026 (2 weeks, 6 days ago)
  • security.nl
Miljoenen AI-agents en -tools kwetsbaar door beveiligingslek in Starlette

Miljoenen AI-agents en -tools bevatten een kwetsbaarheid waardoor aanvallers toegang tot de onderliggende server kunnen krijgen en gegevens kunnen stelen, zo waarschuwen beveiligingsonderzoekers. Het ... Read more

Published Date: May 27, 2026 (3 weeks ago)

The following table lists the changes that have been made to the CVE-2026-48710 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jun. 16, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    Added CWE CWE-1289
    Added Reference https://access.redhat.com/security/cve/CVE-2026-48710
    Added Reference https://badhost.org
    Added Reference https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6
    Added Reference https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr
    Added Reference https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml
    Added Reference https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette
    Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json
    Added Reference https://www.cve.org/CVERecord?id=CVE-2026-48710
    Added Reference https://www.secwest.net/starlette
    Added Reference https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette
  • Initial Analysis by [email protected]

    Jun. 03, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    Added CPE Configuration OR *cpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:* versions from (including) 0.8.3 up to (excluding) 1.0.1
    Added Reference Type GitHub, Inc.: https://badhost.org Types: Mitigation, Third Party Advisory
    Added Reference Type GitHub, Inc.: https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr Types: Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml Types: Third Party Advisory
    Added Reference Type GitHub, Inc.: https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette Types: Mitigation, Third Party Advisory
    Added Reference Type GitHub, Inc.: https://www.secwest.net/starlette Types: Exploit, Mitigation, Third Party Advisory
    Added Reference Type GitHub, Inc.: https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette Types: Exploit, Mitigation, Third Party Advisory
  • New CVE Received by [email protected]

    May. 26, 2026

    Action Type Old Value New Value
    Added Description Starlette is a lightweight ASGI framework/toolkit. Prior to version 1.0.1, the HTTP `Host` request header was not validated before being used to reconstruct `request.url`. Because the routing algorithm relies on the raw HTTP path while `request.url` is rebuilt from the `Host` header, a malformed header could make `request.url.path` differ from the path that was actually requested. Middleware and endpoints that apply security restrictions based on `request.url` (rather than the raw `scope` path) could therefore be bypassed. Users should upgrade to a version greater than or equal to version 1.0.1, which validates the `Host` header against the grammar of RFC 9112 §3.2 / RFC 3986 §3.2.2 when constructing `request.url` and falls back to `scope["server"]` for malformed values.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    Added CWE CWE-444
    Added Reference https://badhost.org
    Added Reference https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6
    Added Reference https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr
    Added Reference https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml
    Added Reference https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette
    Added Reference https://www.secwest.net/starlette
    Added Reference https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.